package cn.com.jinhao.hotline.commons.vo.user;

import cn.com.jinhao.hotline.commons.vo.BaseRequestVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * hotline-spring-cloud
 * <p>Description: </p>
 *
 * @author ShaneMew
 * @version 1.0
 * @date 2020/6/5
 * @since 2020/6/5
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value = "AddressBookRequestVO",description = "联系人入参类")
public class AddressBookRequestVO extends BaseRequestVO {
    /**
     * 联系人信息
     */
    @ApiModelProperty(value = "联系人信息")
    @NotBlank(message = "联系人信息(contactPersonInfo)不能为空")
    private String contactPersonInfo;
    /**
     * 汉语拼音
     */
    @ApiModelProperty(value = "拼音")
    private String spell;

    /**
     * 用户编码
     */
    @ApiModelProperty(value = "用户编码")
    @NotBlank(message = "用户编码(operatorCode)不能为空")
    private String operatorCode;

    /**
     * 用户
     */
    @ApiModelProperty(value = "用户名称")
    @NotBlank(message = "用户名称(operator)不能为空")
    private String operator;

    /**
     * 单位编码
     */
    @ApiModelProperty(value = "单位编码")
    @NotBlank(message = "单位编码(deptCode)不能为空")
    private String deptCode;

    /**
     * 单位
     */
    @ApiModelProperty(value = "单位")
    @NotBlank(message = "单位(dept)不能为空")
    private String dept;

    /**
     * 移动电话
     */
    @ApiModelProperty(value = "移动电话")
    @NotBlank(message = "移动电话(telephone)不能为空")
    private String telephone;

    /**
     * 固定电话
     */
    @ApiModelProperty(value = "固定电话")
    private String fixedPhone;

    /**
     * 传真
     */
    @ApiModelProperty(value = "传真")
    private String fax;

    /**
     * 微信号
     */
    @ApiModelProperty(value = "微信号")
    private String weChat;

    /**
     * QQ号
     */
    @ApiModelProperty(value = "QQ号")
    private String qq;

    /**
     * 邮箱
     */
    @ApiModelProperty(value = "邮箱")
    private String mail;
}
